package dev.alm.reggietakeoutservice.service;

import dev.alm.reggietakeoutservice.dto.UserPageQuery;
import dev.alm.reggietakeoutservice.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface UserService {

    public User addUser(User user);

    public User getUserById(Long id);

    public Boolean login(User user);

    public Map<String, Object> getUserListByConditionAndPage(UserPageQuery userPageQuery);

    public List<User> getUserList();

}
